﻿using Practice.Common.DbCont;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice.Common.Infrastructure.Interfaces
{
    public interface IBaseRepository<T> where T : class, new()
    {
        IQueryable<T> GetAll();
        int Add(T entity);
        int Update(T entity);
    }
}
